package com.example.demo.service;

import com.example.demo.model.Category;

import java.util.List;

public interface ICategoryService {
    List<Category> getAllCategories();

    Category getCategoryById(Integer id);


    void updateCategory(Category category);


    void addNewCategory(Category category);

    void deleteCategoryById(Integer id);
}
